# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'untitled.ui'
#
# Created: Mon Apr 23 15:15:26 2012
#      by: pyside-uic 0.2.13 running on PySide 1.1.0
#
# WARNING! All changes made in this file will be lost!

from PySide import QtCore, QtGui, QtWebKit
from list_widget import ListWidget
import os

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1212, 888)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
        MainWindow.setSizePolicy(sizePolicy)
        MainWindow.setMinimumSize(QtCore.QSize(800, 600))
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap("icon.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        MainWindow.setWindowIcon(icon)
        MainWindow.setDockNestingEnabled(False)
        self.centralwidget = QtGui.QWidget(MainWindow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.centralwidget.sizePolicy().hasHeightForWidth())
        self.centralwidget.setSizePolicy(sizePolicy)
        self.centralwidget.setMinimumSize(QtCore.QSize(800, 600))
        self.centralwidget.setAutoFillBackground(False)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayoutWidget = QtGui.QWidget(self.centralwidget)
        self.gridLayoutWidget.setGeometry(QtCore.QRect(0, 0, 1231, 761))
        self.gridLayoutWidget.setObjectName("gridLayoutWidget")
        self.gridLayout = QtGui.QGridLayout(self.gridLayoutWidget)
        self.gridLayout.setSizeConstraint(QtGui.QLayout.SetMaximumSize)
        self.gridLayout.setContentsMargins(0, 0, 0, 0)
        self.gridLayout.setObjectName("gridLayout")
        self.tab_widget = QtGui.QTabWidget(self.gridLayoutWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tab_widget.sizePolicy().hasHeightForWidth())
        self.tab_widget.setSizePolicy(sizePolicy)
        self.tab_widget.setMinimumSize(QtCore.QSize(800, 600))
        self.tab_widget.setTabsClosable(True)
        self.tab_widget.setObjectName("tab_widget")
        self.tab = QtGui.QWidget()
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tab.sizePolicy().hasHeightForWidth())
        self.tab.setSizePolicy(sizePolicy)
        self.tab.setObjectName("tab")
        self.gridLayoutWidget_7 = QtGui.QWidget(self.tab)
        self.gridLayoutWidget_7.setGeometry(QtCore.QRect(10, 10, 1121, 611))
        self.gridLayoutWidget_7.setObjectName("gridLayoutWidget_7")
        self.gridLayout_7 = QtGui.QGridLayout(self.gridLayoutWidget_7)
        self.gridLayout_7.setSizeConstraint(QtGui.QLayout.SetMaximumSize)
        self.gridLayout_7.setContentsMargins(8, 8, 8, 8)
        self.gridLayout_7.setSpacing(8)
        self.gridLayout_7.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_7.setObjectName("gridLayout_7")
        self.progressBar = QtGui.QProgressBar(self.gridLayoutWidget_7)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.progressBar.sizePolicy().hasHeightForWidth())
        self.progressBar.setSizePolicy(sizePolicy)
        self.progressBar.setProperty("value", 0)
        self.progressBar.setObjectName("progressBar")
        self.gridLayout_7.addWidget(self.progressBar, 1, 0, 1, 1)
        self.tree_widget = QtGui.QTreeWidget(self.gridLayoutWidget_7)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tree_widget.sizePolicy().hasHeightForWidth())
        self.tree_widget.setSizePolicy(sizePolicy)
        self.tree_widget.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.tree_widget.setColumnCount(5)
        self.tree_widget.setObjectName("tree_widget")
        self.tree_widget.headerItem().setText(0, "Тема")
        self.gridLayout_7.addWidget(self.tree_widget, 0, 0, 1, 1)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setContentsMargins(8, 8, 8, 8)
        self.verticalLayout.setObjectName("verticalLayout")
        self.get_forums_button = QtGui.QPushButton(self.gridLayoutWidget_7)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.get_forums_button.sizePolicy().hasHeightForWidth())
        self.get_forums_button.setSizePolicy(sizePolicy)
        self.get_forums_button.setMinimumSize(QtCore.QSize(250, 0))
        self.get_forums_button.setObjectName("get_forums_button")
        self.verticalLayout.addWidget(self.get_forums_button)
        self.update_target = QtGui.QVBoxLayout()
        self.update_target.setObjectName("update_target")
        self.get_all_rb = QtGui.QRadioButton(self.gridLayoutWidget_7)
        self.get_all_rb.setChecked(True)
        self.get_all_rb.setObjectName("get_all_rb")
        self.update_target.addWidget(self.get_all_rb)
        self.get_selected_rb = QtGui.QRadioButton(self.gridLayoutWidget_7)
        self.get_selected_rb.setObjectName("get_selected_rb")
        self.update_target.addWidget(self.get_selected_rb)
        self.get_unselected_rb = QtGui.QRadioButton(self.gridLayoutWidget_7)
        self.get_unselected_rb.setObjectName("get_unselected_rb")
        self.update_target.addWidget(self.get_unselected_rb)
        self.verticalLayout.addLayout(self.update_target)
        self.line_2 = QtGui.QFrame(self.gridLayoutWidget_7)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.verticalLayout.addWidget(self.line_2)
        self.check_on_startup_cb = QtGui.QCheckBox(self.gridLayoutWidget_7)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.check_on_startup_cb.sizePolicy().hasHeightForWidth())
        self.check_on_startup_cb.setSizePolicy(sizePolicy)
        self.check_on_startup_cb.setObjectName("check_on_startup_cb")
        self.verticalLayout.addWidget(self.check_on_startup_cb)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.reload_interval_sb = QtGui.QSpinBox(self.gridLayoutWidget_7)
        self.reload_interval_sb.setObjectName("reload_interval_sb")
        self.horizontalLayout.addWidget(self.reload_interval_sb)
        self.label = QtGui.QLabel(self.gridLayoutWidget_7)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setMargin(0)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.horizontalLayout.setStretch(1, 10)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setContentsMargins(8, 8, 8, 8)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_3 = QtGui.QLabel(self.gridLayoutWidget_7)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_3.addWidget(self.label_3)
        self.lcd_number_forums = QtGui.QLCDNumber(self.gridLayoutWidget_7)
        self.lcd_number_forums.setDigitCount(4)
        self.lcd_number_forums.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_number_forums.setObjectName("lcd_number_forums")
        self.horizontalLayout_3.addWidget(self.lcd_number_forums)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        self.line = QtGui.QFrame(self.gridLayoutWidget_7)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout.addWidget(self.line)
        self.hide_to_tray_cb = QtGui.QCheckBox(self.gridLayoutWidget_7)
        self.hide_to_tray_cb.setObjectName("hide_to_tray_cb")
        self.verticalLayout.addWidget(self.hide_to_tray_cb)
        self.line_3 = QtGui.QFrame(self.gridLayoutWidget_7)
        self.line_3.setFrameShape(QtGui.QFrame.HLine)
        self.line_3.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.verticalLayout.addWidget(self.line_3)
        self.get_posts_button = QtGui.QPushButton(self.gridLayoutWidget_7)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.get_posts_button.sizePolicy().hasHeightForWidth())
        self.get_posts_button.setSizePolicy(sizePolicy)
        self.get_posts_button.setObjectName("get_posts_button")
        self.verticalLayout.addWidget(self.get_posts_button)
        self.horizontalLayout_9 = QtGui.QHBoxLayout()
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.reload_posts_interval_sb = QtGui.QSpinBox(self.gridLayoutWidget_7)
        self.reload_posts_interval_sb.setObjectName("reload_posts_interval_sb")
        self.horizontalLayout_9.addWidget(self.reload_posts_interval_sb)
        self.label_9 = QtGui.QLabel(self.gridLayoutWidget_7)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_9.sizePolicy().hasHeightForWidth())
        self.label_9.setSizePolicy(sizePolicy)
        self.label_9.setMargin(0)
        self.label_9.setObjectName("label_9")
        self.horizontalLayout_9.addWidget(self.label_9)
        self.horizontalLayout_9.setStretch(1, 10)
        self.verticalLayout.addLayout(self.horizontalLayout_9)
        self.horizontalLayout_8 = QtGui.QHBoxLayout()
        self.horizontalLayout_8.setContentsMargins(8, 8, 8, 8)
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.label_8 = QtGui.QLabel(self.gridLayoutWidget_7)
        self.label_8.setObjectName("label_8")
        self.horizontalLayout_8.addWidget(self.label_8)
        self.lcd_number_posts = QtGui.QLCDNumber(self.gridLayoutWidget_7)
        self.lcd_number_posts.setDigitCount(4)
        self.lcd_number_posts.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_number_posts.setObjectName("lcd_number_posts")
        self.horizontalLayout_8.addWidget(self.lcd_number_posts)
        self.verticalLayout.addLayout(self.horizontalLayout_8)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.gridLayout_7.addLayout(self.verticalLayout, 0, 1, 1, 1)
        self.gridLayout_7.setColumnStretch(0, 10)
        self.tab_widget.addTab(self.tab, "")
        self.tab_2 = QtGui.QWidget()
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tab_2.sizePolicy().hasHeightForWidth())
        self.tab_2.setSizePolicy(sizePolicy)
        self.tab_2.setObjectName("tab_2")
        self.gridLayoutWidget_2 = QtGui.QWidget(self.tab_2)
        self.gridLayoutWidget_2.setGeometry(QtCore.QRect(30, 10, 1071, 671))
        self.gridLayoutWidget_2.setObjectName("gridLayoutWidget_2")
        self.gridLayout_2 = QtGui.QGridLayout(self.gridLayoutWidget_2)
        self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.subscribe_listWidget = QtGui.QListWidget(self.gridLayoutWidget_2)
        self.subscribe_listWidget.setObjectName("subscribe_listWidget")
        self.gridLayout_2.addWidget(self.subscribe_listWidget, 0, 0, 4, 1)
        self.subscribe_listWidget11 = ListWidget(self.gridLayoutWidget_2)
        self.subscribe_listWidget11.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.gridLayout_2.addWidget(self.subscribe_listWidget11, 0, 1, 2, 1)
        self.subscribed_view = QtWebKit.QWebView()
        self.subscribed_view.setHtml('')
        path = os.getcwd()
        self.subscribed_view.settings().setUserStyleSheetUrl(QtCore.QUrl.fromLocalFile(path + "/css_2.css"))
        self.gridLayout_2.addWidget(self.subscribed_view, 2, 1, 1, 1)
        self.update_subscribed_button = QtGui.QPushButton(self.gridLayoutWidget_2)
        self.update_subscribed_button.setObjectName("update_subscribed_button")
        self.gridLayout_2.addWidget(self.update_subscribed_button, 4, 1, 1, 1)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.reload_interval_subscription_sb = QtGui.QSpinBox(self.gridLayoutWidget_2)
        self.reload_interval_subscription_sb.setObjectName("reload_interval_subscription_sb")
        self.horizontalLayout_2.addWidget(self.reload_interval_subscription_sb)
        self.label_2 = QtGui.QLabel(self.gridLayoutWidget_2)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_2.addWidget(self.label_2)
        self.lcd_number_subscription = QtGui.QLCDNumber(self.gridLayoutWidget_2)
        self.lcd_number_subscription.setObjectName("lcd_number_subscription")
        self.horizontalLayout_2.addWidget(self.lcd_number_subscription)
        self.horizontalLayout_2.setStretch(1, 1)
        self.gridLayout_2.addLayout(self.horizontalLayout_2, 4, 0, 1, 1)
        self.gridLayout_2.setColumnStretch(1, 1)
        self.gridLayout_2.setRowStretch(0, 1)
        self.tab_widget.addTab(self.tab_2, "")
        self.gridLayout.addWidget(self.tab_widget, 0, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1212, 27))
        self.menubar.setObjectName("menubar")
        self.menu = QtGui.QMenu(self.menubar)
        self.menu.setObjectName("menu")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.statusbar.sizePolicy().hasHeightForWidth())
        self.statusbar.setSizePolicy(sizePolicy)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.action = QtGui.QAction(MainWindow)
        self.action.setObjectName("action")
        self.menu.addAction(self.action)
        self.menubar.addAction(self.menu.menuAction())

        self.retranslateUi(MainWindow)
        self.tab_widget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "FER Fetcher", None, QtGui.QApplication.UnicodeUTF8))
        self.tree_widget.headerItem().setText(2, QtGui.QApplication.translate("MainWindow", "Ответов", None, QtGui.QApplication.UnicodeUTF8))
        self.get_forums_button.setToolTip(QtGui.QApplication.translate("MainWindow", "Если не знаете, что делать, жмите сюда.", None, QtGui.QApplication.UnicodeUTF8))
        self.get_forums_button.setText(QtGui.QApplication.translate("MainWindow", "Обновить темы форума", None, QtGui.QApplication.UnicodeUTF8))
        #self.get_all_rb.setToolTip(QtGui.QApplication.translate("MainWindow", "Не работает", None, QtGui.QApplication.UnicodeUTF8))
        self.get_all_rb.setText(QtGui.QApplication.translate("MainWindow", "Обновлять всё", None, QtGui.QApplication.UnicodeUTF8))
        #self.get_selected_rb.setToolTip(QtGui.QApplication.translate("MainWindow", "Не работает", None, QtGui.QApplication.UnicodeUTF8))
        self.get_selected_rb.setText(QtGui.QApplication.translate("MainWindow", "Только выделенное", None, QtGui.QApplication.UnicodeUTF8))
        #self.get_unselected_rb.setToolTip(QtGui.QApplication.translate("MainWindow", "Не работает", None, QtGui.QApplication.UnicodeUTF8))
        self.get_unselected_rb.setText(QtGui.QApplication.translate("MainWindow", "Кроме выделенного", None, QtGui.QApplication.UnicodeUTF8))
        self.check_on_startup_cb.setText(QtGui.QApplication.translate("MainWindow", "Обновлять при запуске", None, QtGui.QApplication.UnicodeUTF8))
        self.reload_interval_sb.setToolTip(QtGui.QApplication.translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Arial\'; font-size:14pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Интервал обновления в минутах.</p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Если <span style=\" font-weight:600;\">0</span> - не обновлять.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setToolTip(QtGui.QApplication.translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Arial\'; font-size:14pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Интервал обновления в минутах.</p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Если <span style=\" font-weight:600;\">0</span> - не обновлять.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("MainWindow", "Интервал обновления", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("MainWindow", "Обновление через", None, QtGui.QApplication.UnicodeUTF8))
        self.hide_to_tray_cb.setText(QtGui.QApplication.translate("MainWindow", "Сворачивать в трей", None, QtGui.QApplication.UnicodeUTF8))
        self.get_posts_button.setText(QtGui.QApplication.translate("MainWindow", "Обновить открытые threads", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("MainWindow", "Обновление через", None, QtGui.QApplication.UnicodeUTF8))
        self.reload_posts_interval_sb.setToolTip(QtGui.QApplication.translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Arial\'; font-size:14pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Интервал обновления в минутах.</p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Если <span style=\" font-weight:600;\">0</span> - не обновлять.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setToolTip(QtGui.QApplication.translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Arial\'; font-size:14pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Интервал обновления в минутах.</p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Если <span style=\" font-weight:600;\">0</span> - не обновлять.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(QtGui.QApplication.translate("MainWindow", "Интервал обновления", None, QtGui.QApplication.UnicodeUTF8))
        self.tab_widget.setTabText(self.tab_widget.indexOf(self.tab), QtGui.QApplication.translate("MainWindow", "Список Форумов", None, QtGui.QApplication.UnicodeUTF8))
        __sortingEnabled = self.subscribe_listWidget.isSortingEnabled()
        self.subscribe_listWidget.setSortingEnabled(False)
        self.subscribe_listWidget.setSortingEnabled(__sortingEnabled)
        self.update_subscribed_button.setText(QtGui.QApplication.translate("MainWindow", "Обновить", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setToolTip(QtGui.QApplication.translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Arial\'; font-size:14pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Интервал обновления в минутах.</p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Если <span style=\" font-weight:600;\">0</span> - не обновлять.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("MainWindow", "Интервал обновления", None, QtGui.QApplication.UnicodeUTF8))
        self.tab_widget.setTabText(self.tab_widget.indexOf(self.tab_2), QtGui.QApplication.translate("MainWindow", "Подписка", None, QtGui.QApplication.UnicodeUTF8))
        self.menu.setTitle(QtGui.QApplication.translate("MainWindow", "Меню", None, QtGui.QApplication.UnicodeUTF8))
        self.action.setText(QtGui.QApplication.translate("MainWindow", "Выход", None, QtGui.QApplication.UnicodeUTF8))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    MainWindow = QtGui.QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(MainWindow)
    MainWindow.show()
    sys.exit(app.exec_())

